package com.lengmou.entity;

public class GoodsType {
    private int id;
    private String name;
    private int fromid;

    public GoodsType() {
    }

    public GoodsType(int id, String name, int fromid) {
        this.id = id;
        this.name = name;
        this.fromid = fromid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getFromid() {
        return fromid;
    }

    public void setFromid(int fromid) {
        this.fromid = fromid;
    }

    @Override
    public String toString() {
        return "GoodsType{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", fromid=" + fromid +
                '}';
    }
}
